
#ifndef GENESIS_DATATYPES
#define GENESIS_DATATYPES
typedef unsigned char byte;
typedef unsigned short word;
#endif

#define btnStart 0x80
#define btnA 0x40
#define btnC 0x20
#define btnB 0x10
#define btnR 0x08
#define btnL 0x04
#define btnDn 0x02
#define btnUp 0x01
#define btnDir 0x0F
#define btnABC 0x70
#define bitStart 7
#define bitA 6
#define bitC 5
#define bitB 4
#define bitR 3
#define bitL 2
#define bitDn 1
#define bitUp 0

void pcJoypads(bool *);
void ReadJoypads(bool *);
